package com.zxq.ai.domain.exception;

import com.zxq.common.utils.exception.DomainException;
import com.zxq.common.utils.exception.ErrorCode;

public class ActivityHasEndedException extends DomainException {
    public ActivityHasEndedException(String message) {
        super(message);
    }

    public ActivityHasEndedException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public ErrorCode getCode() {
        return ErrorCode.ACTIVITY_HAS_ENDED;
    }
}
